package com.platform.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 实体
 * 表名 cms_news
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2018-08-21 17:19:56
 */
public class UserDynamicEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //标题
    private String title;
    //简介
    private String summary;
    //作者id
    private Integer authorid;
    //作者名称
    private String authorname;
    //点赞数量
    private Integer praise;
    //新闻详情
    private String newdes;
    //新闻图片
    private String imageUrl;
    //创建日期
    private Date createdat;
    //更新日期
    private Date updatedat;
    //状态
    private Integer enabled;

    private Integer isrecommend;

    private String mobile;

    private String typeName;

    private Integer ischeck;

    private String dynamicPicture;

    private String video;

    private Integer type;

    public String getDynamicPicture() {
        return dynamicPicture;
    }

    public void setDynamicPicture(String dynamicPicture) {
        this.dynamicPicture = dynamicPicture;
    }

    public Integer getIscheck() {
        return ischeck;
    }

    public void setIscheck(Integer ischeck) {
        this.ischeck = ischeck;
    }

    private List<DynamicPictureEntity> pictureEntities;

    //分类id集合
    private List<Integer> categoryIDlist;
    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取：标题
     */
    public String getTitle() {
        return title;
    }
    /**
     * 设置：简介
     */
    public void setSummary(String summary) {
        this.summary = summary;
    }

    /**
     * 获取：简介
     */
    public String getSummary() {
        return summary;
    }
    /**
     * 设置：作者id
     */
    public void setAuthorid(Integer authorid) {
        this.authorid = authorid;
    }

    /**
     * 获取：作者id
     */
    public Integer getAuthorid() {
        return authorid;
    }
    /**
     * 设置：作者名称
     */
    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    /**
     * 获取：作者名称
     */
    public String getAuthorname() {
        return authorname;
    }
    /**
     * 设置：点赞数量
     */
    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    /**
     * 获取：点赞数量
     */
    public Integer getPraise() {
        return praise;
    }
    /**
     * 设置：新闻详情
     */
    public void setNewdes(String newdes) {
        this.newdes = newdes;
    }

    /**
     * 获取：新闻详情
     */
    public String getNewdes() {
        return newdes;
    }
    /**
     * 设置：新闻图片
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    /**
     * 获取：新闻图片
     */
    public String getImageUrl() {
        return imageUrl;
    }
    /**
     * 设置：创建日期
     */
    public void setCreatedat(Date createdat) {
        this.createdat = createdat;
    }

    /**
     * 获取：创建日期
     */
    public Date getCreatedat() {
        return createdat;
    }
    /**
     * 设置：更新日期
     */
    public void setUpdatedat(Date updatedat) {
        this.updatedat = updatedat;
    }

    /**
     * 获取：更新日期
     */
    public Date getUpdatedat() {
        return updatedat;
    }

    /**
     * 设置：状态
     */
    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    /**
     * 获取：状态
     */
    public Integer getEnabled() {
        return enabled;
    }

    public List<Integer> getCategoryIDlist() {
        return categoryIDlist;
    }

    public void setCategoryIDlist(List<Integer> categoryIDlist) {
        this.categoryIDlist = categoryIDlist;
    }

    public Integer getIsrecommend() {
        return isrecommend;
    }

    public void setIsrecommend(Integer isrecommend) {
        this.isrecommend = isrecommend;
    }

    public List<DynamicPictureEntity> getPictureEntities() {
        return pictureEntities;
    }

    public void setPictureEntities(List<DynamicPictureEntity> pictureEntities) {
        this.pictureEntities = pictureEntities;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
